Skip to content

docs(en): merge rollup/master into rollup-docs-cn/master @ 87222dd3#204

Closed
docschina-bot wants to merge 9 commits into
masterfrom
sync-87222dd3
Closed

docs(en): merge rollup/master into rollup-docs-cn/master @ 87222dd3#204
docschina-bot wants to merge 9 commits into
masterfrom
sync-87222dd3

Conversation

@docschina-bot
Copy link
Copy Markdown
Collaborator

此 PR 自动生成。

合并 rollup/rollup 的修改至本仓库(@ 87222dd

以下文件存在冲突,可能需要重新翻译:

请解决所有冲突后提交到此 pull request,可直接在 Github 修改、切换到 sync-87222dd3 分支进行修改或者使用 Github Desktop 拉取此 pr 修改并提交。

禁止使用 Squash Merge 来合并此 Pull Request!

使用该操作会导致上游仓库的内容丢失,并致使下一次合并产生冲突。

renovate Bot and others added 9 commits May 1, 2026 05:35
* chore(deps): lock file maintenance

* Resolve audit

* fix: pin stacker to 0.1.23 and windows-sys to 0.59.0 in Cargo.lock

stacker 0.1.24 requires windows-sys >=0.60 which dropped windows_x86_64_gnu.
That crate provided the static import library supplying __imp_OpenProcessToken
and friends that libmimalloc-sys2 needs on windows-gnu. Pin stacker to 0.1.23
(which accepts windows-sys 0.59.x) so the arch crates are restored and the
windows-gnu build links successfully.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lukas Taegert-Atkinson <lukas.taegert-atkinson@tngtech.com>
Co-authored-by: Lukas Taegert-Atkinson <lukastaegert@users.noreply.github.com>
fix(deps): update swc monorepo

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…360)

PR #5947 added "exports" to the universal RESERVED_NAMES set, which
caused every variable or parameter named "exports" to be renamed to
"exports$1" in any scope, even when no conflict exists with the output
format's runtime "exports" identifier. Because eval strings are not
rewritten, this silently broke code like:

    (unused, exports) => {
      console.log(exports.bar);
      eval('exports.bar = 1');
    }

where the parameter was renamed but the eval argument was not. The same
over-aggressive rename also applied to unrelated nested bindings in ES
output, which has no runtime "exports" at all.

This change removes "exports" from RESERVED_NAMES and restores the
system-format-specific check in ChildScope.addUsedOutsideNames so that
nested scopes in SystemJS output still treat "exports" as used when
they reference an outer exported binding. Top-level protection for
CJS/AMD/UMD/IIFE/SYSTEM output is unchanged: RESERVED_USED_NAMES in
Chunk.ts still seeds the chunk-level usedNames with "exports", and
reassigned exports still carry renderBaseName === "exports" which
propagates into nested scopes via getBaseVariableName().

The deconflictTopLevelVariables cache from PR #5947 is untouched, so
its performance benefits are preserved; a benchmark that reliably sees
the PR's generate-time speedup (~20% vs pre-PR) shows no regression
from this change.

Fixes #6357

Made-with: Cursor

Co-authored-by: Lukas Taegert-Atkinson <lukastaegert@users.noreply.github.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rollup-docs-cn Error Error May 3, 2026 10:37pm

Request Review

@netlify
Copy link
Copy Markdown

netlify Bot commented May 3, 2026

Deploy Preview for relaxed-alfajores-47dd1b failed.

Name Link
🔨 Latest commit 51a0c47
🔍 Latest deploy log https://app.netlify.com/projects/relaxed-alfajores-47dd1b/deploys/69f7cdf8a5bdd80008a5665b

@waynzh waynzh closed this May 6, 2026
@waynzh waynzh deleted the sync-87222dd3 branch May 6, 2026 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants